Data structure: \(O = (W, A, Y)\)
Underlying data generating process, \(P_{U,X}\)
Outcome of interest: \(E_0[Y|a,W]\)
## W A Y
## Min. :-3.805384 Min. :0.000 Min. :0.0000
## 1st Qu.:-0.670716 1st Qu.:0.652 1st Qu.:0.0000
## Median :-0.003864 Median :2.009 Median :0.0000
## Mean : 0.003247 Mean :2.125 Mean :0.4634
## 3rd Qu.: 0.681898 3rd Qu.:3.399 3rd Qu.:1.0000
## Max. : 3.409975 Max. :5.000 Max. :1.0000
## Summary of A given W < -1:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 1.279 2.565 2.587 4.002 5.000
## Summary of A given -1 < W <= 0:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.0000 0.9119 2.2414 2.3101 3.5931 5.0000
## Summary of A given 0 < W <= 1:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.0000 0.4733 1.8530 1.9746 3.1826 5.0000
## Summary of A given 1 < W:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 0.000 1.242 1.597 2.704 5.000
## [1] "The average fitting time for CV-HAL: 4.8179 seconds"
## [1] "The average fitting time for globally undersmoothed HAL: 7.3648 seconds"
## [1] "The average fitting time for locally undersmoothed HAL: 31.9061 seconds"
## [1] "proportion of simulations that cannot compute empirical SD:"
## 1.2 1.1 1 0.6952 0.4833 0.336 0.2336 0.1624 0.1129 0.0785 0.0546
## 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.001 0.002 0.003
## 0.0379 0.0264 0.0183 0.0127 0.0089 0.0062 0.0043 0.003 0.0021 0.0014 0.001
## 0.007 0.008 0.023 0.044 0.064 0.108 0.178 0.238 0.351 0.466 0.632
## [1] "The average fitting time for CV-HAL: 5.3619 seconds"
## [1] "The average fitting time for globally undersmoothed HAL: 10.0429 seconds"
## [1] "The average fitting time for locally undersmoothed HAL: 54.3114 seconds"
## [1] "proportion of simulations that cannot compute empirical SD:"
## 1.2 1.1 1 0.6952 0.4833 0.336 0.2336 0.1624 0.1129 0.0785 0.0546
## 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
## 0.0379 0.0264 0.0183 0.0127 0.0089 0.0062 0.0043 0.003 0.0021 0.0014 0.001
## 0.000 0.003 0.005 0.016 0.023 0.038 0.059 0.103 0.153 0.221 0.268
## [1] "The average fitting time for CV-HAL: 5.8012 seconds"
## [1] "The average fitting time for globally undersmoothed HAL: 11.4634 seconds"
## [1] "The average fitting time for locally undersmoothed HAL: 62.6101 seconds"
## [1] "proportion of simulations that cannot compute empirical SD:"
## 1.2 1.1 1 0.6952 0.4833 0.336 0.2336 0.1624 0.1129 0.0785 0.0546
## 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
## 0.0379 0.0264 0.0183 0.0127 0.0089 0.0062 0.0043 0.003 0.0021 0.0014 0.001
## 0.000 0.001 0.001 0.007 0.010 0.016 0.027 0.047 0.073 0.104 0.135
Data structure: \(O = (W, A, Y)\)
Underlying data generating process, \(P_{U,X}\)
Outcome of interest: \(E_0[Y|a,W]\)
## W A Y
## Min. :-3.61831 Min. :0.000 Min. :0.0000
## 1st Qu.:-0.68682 1st Qu.:0.612 1st Qu.:0.0000
## Median :-0.00980 Median :2.021 Median :0.0000
## Mean :-0.00214 Mean :2.124 Mean :0.0661
## 3rd Qu.: 0.67024 3rd Qu.:3.395 3rd Qu.:0.0000
## Max. : 4.61816 Max. :5.000 Max. :1.0000
## Summary of A given W < -1:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 1.408 2.752 2.694 4.110 5.000
## Summary of A given -1 < W <= 0:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.0000 0.8729 2.2537 2.3142 3.6316 5.0000
## Summary of A given 0 < W <= 1:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.0000 0.4784 1.7923 1.9353 3.0472 5.0000
## Summary of A given 1 < W:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 0.000 1.147 1.531 2.612 5.000
## [1] "The average fitting time for CV-HAL: 4.6812 seconds"
## [1] "The average fitting time for globally undersmoothed HAL: 6.3512 seconds"
## [1] "The average fitting time for locally undersmoothed HAL: 18.9695 seconds"
Data structure: \(O = (W, A, Y)\)
Underlying data generating process, \(P_{U,X}\)
Outcome of interest: \(E_0[Y|a,W]\)
## W A Y
## Min. :-3.233447 Min. :0.000 Min. :0.0000
## 1st Qu.:-0.662708 1st Qu.:0.559 1st Qu.:0.0000
## Median : 0.009014 Median :1.983 Median :0.0000
## Mean : 0.008675 Mean :2.100 Mean :0.4308
## 3rd Qu.: 0.677866 3rd Qu.:3.387 3rd Qu.:1.0000
## Max. : 4.024544 Max. :5.000 Max. :1.0000
## Summary of A given W < -1:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 1.377 2.757 2.678 4.068 5.000
## Summary of A given -1 < W <= 0:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 0.889 2.295 2.322 3.673 5.000
## Summary of A given 0 < W <= 1:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 0.359 1.731 1.881 3.019 5.000
## Summary of A given 1 < W:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 0.000 1.178 1.530 2.608 5.000
## [1] "The average fitting time for CV-HAL: 3.7617 seconds"
## [1] "The average fitting time for globally undersmoothed HAL: 6.0892 seconds"
## [1] "The average fitting time for locally undersmoothed HAL: 24.4744 seconds"
## [1] "proportion of simulations that cannot compute empirical SD:"
## 1.2 1.1 1 0.6952 0.4833 0.336 0.2336 0.1624 0.1129 0.0785 0.0546
## 0.002 0.003 0.004 0.004 0.008 0.020 0.027 0.049 0.080 0.098 0.132
## 0.0379 0.0264 0.0183 0.0127 0.0089 0.0062 0.0043 0.003 0.0021 0.0014 0.001
## 0.176 0.250 0.300 0.384 0.453 0.549 0.621 0.697 0.762 0.812 0.849
## [1] "The average fitting time for CV-HAL: 5.9994 seconds"
## [1] "The average fitting time for globally undersmoothed HAL: 14.4206 seconds"
## [1] "The average fitting time for locally undersmoothed HAL: 84.0663 seconds"
## [1] "proportion of simulations that cannot compute empirical SD:"
## 1.2 1.1 1 0.6952 0.4833 0.336 0.2336 0.1624 0.1129 0.0785 0.0546
## 0.005 0.004 0.004 0.004 0.012 0.015 0.022 0.041 0.057 0.074 0.118
## 0.0379 0.0264 0.0183 0.0127 0.0089 0.0062 0.0043 0.003 0.0021 0.0014 0.001
## 0.174 0.243 0.321 0.408 0.510 0.593 0.701 0.794 0.834 0.890 0.916
## [1] "The average fitting time for CV-HAL: 10.6242 seconds"
## [1] "The average fitting time for globally undersmoothed HAL: 22.6256 seconds"
## [1] "The average fitting time for locally undersmoothed HAL: 113.1588 seconds"
## [1] "proportion of simulations that cannot compute empirical SD:"
## 1.2 1.1 1 0.6952 0.4833 0.336 0.2336 0.1624 0.1129 0.0785 0.0546
## 0.000 0.001 0.002 0.005 0.004 0.010 0.013 0.017 0.023 0.044 0.071
## 0.0379 0.0264 0.0183 0.0127 0.0089 0.0062 0.0043 0.003 0.0021 0.0014 0.001
## 0.099 0.149 0.228 0.307 0.396 0.504 0.564 0.640 0.690 0.765 0.787